const ADD_NUM = 'ADD_NUM';
const CHANG_SHRINK_STATUS = 'CHANG_SHRINK_STATUS';


let Action = {
    changeShrinkStatus(value) {
        return {
            type: CHANG_SHRINK_STATUS, //action是一个对象  必须有type字段
            collapsed: value
        }
    },
    addNum(value) {
        console.log(value)
        return {
            type: ADD_NUM,
            testNum: value
        }
    },
}

export default Action;
